package czk.concrent.lockSupport;

import java.util.concurrent.locks.LockSupport;

/**
 * @Author:ChenZhangKun
 * @Date: 2022/9/19 15:46
 */
public class LockSupportDemo4 {
    public static void main(String[] args) {
        System.out.println("123");
        // 阻塞当前线程，直到deadline
        LockSupport.parkUntil(12*1000);
        System.out.println("234");
    }
}
